/**
 * @Description:
 * @Author HP
 * @create 2021/8/19 17:26
 */

const DefaultLayout = () => import('@/layout/default')

const asyncRoutes = []
const constantRoutes = [
  {
    path: '/',
    component: DefaultLayout,
    redirect: '/home',
    children: [
      {
        path: 'home',
        name: 'home',
        meta: { isHidden: true },
        component: () => import('@/pages/default/home/')
      }
    ]
  },
  {
    path: '/authorization',
    name: 'authorization',
    meta: { isHidden: true },
    component: () => import('@/pages/authorization/')
  },
  {
    path: '/test',
    name: 'test',
    meta: { isHidden: true },
    component: () => import('@/pages/test/')
  }
]

export default [...constantRoutes, ...asyncRoutes]
